home *** CD-ROM | disk | FTP | other *** search
MacBinary | 1993-08-24 | 11.0 KB | [TEXT/MPS ] |
open in:
MacOS 8.1
|
Win98
|
DOS
browse contents |
view JSON data
|
view as text
This file was processed as: MacBinary
(archive/macBinary).
Confidence | Program | Detection | Match Type | Support
|
---|
66%
| dexvert
| Compact Compressed (Unix) (archive/compact)
| ext
| Supported |
10%
| dexvert
| MacBinary (archive/macBinary)
| fallback
| Supported |
1%
| dexvert
| Text File (text/txt)
| fallback
| Supported |
100%
| file
| MacBinary II, inited, Tue Aug 24 15:23:58 1993, modified Tue Aug 24 15:23:58 1993, creator 'MPS ', type ASCII, 10561 bytes "windutils.c" , at 0x29c1 428 bytes resource
| default (weak)
| |
99%
| file
| data
| default
| |
74%
| TrID
| Macintosh plain text (MacBinary)
| default
| |
25%
| TrID
| MacBinary 2
| default (weak)
| |
100%
| siegfried
| fmt/1762 MacBinary (II)
| default
| |
100%
| lsar
| MacBinary
| default
|
|
id metadata |
---|
key | value |
---|
macFileType | [TEXT] |
macFileCreator | [MPS ] |
hex view+--------+-------------------------+-------------------------+--------+--------+
|00000000| 00 0b 77 69 6e 64 75 74 | 69 6c 73 2e 63 00 00 00 |..windut|ils.c...|
|00000010| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000020| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000030| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000040| 00 54 45 58 54 4d 50 53 | 20 01 00 00 00 00 00 00 |.TEXTMPS| .......|
|00000050| 00 00 00 00 00 29 41 00 | 00 01 ac a8 a0 1b 4e a8 |.....)A.|......N.|
|00000060| a0 1b 4e 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |..N.....|........|
|00000070| 00 00 00 00 00 00 00 00 | 00 00 81 81 a6 73 00 00 |........|.....s..|
|00000080| 2f 2a 2d 2d 2d 2d 2d 2d | 2d 2d 2d 2d 2d 2d 2d 2d |/*------|--------|
|00000090| 2d 2d 2d 2d 2d 2d 2d 2d | 2d 2d 2d 2d 2d 2d 2d 2d |--------|--------|
|000000a0| 2d 2d 2d 2d 2d 2d 2d 2d | 2d 2d 2d 2d 2d 2d 2d 2d |--------|--------|
|000000b0| 2d 2d 2d 2d 2d 2d 2d 2d | 2d 2d 2d 2d 2d 2d 2d 2d |--------|--------|
|000000c0| 2d 2d 2d 2d 2d 2d 2d 2d | 2d 2d 2d 2d 2d 2d 2d 2d |--------|--------|
|000000d0| 2d 2d 2d 2d 2d 2d 2d 0d | 20 2a 0d 20 2a 20 53 69 |-------.| *. * Si|
|000000e0| 6d 70 6c 65 20 53 61 6d | 70 6c 65 20 50 6f 77 65 |mple Sam|ple Powe|
|000000f0| 72 54 61 6c 6b 20 41 70 | 70 6c 69 63 61 74 69 6f |rTalk Ap|plicatio|
|00000100| 6e 20 46 72 61 6d 65 77 | 6f 72 6b 0d 20 2a 0d 20 |n Framew|ork. *. |
|00000110| 2a 20 a9 31 39 39 31 2d | 31 39 39 33 20 41 70 70 |* .1991-|1993 App|
|00000120| 6c 65 20 43 6f 6d 70 75 | 74 65 72 0d 20 2a 0d 20 |le Compu|ter. *. |
|00000130| 2d 2d 2d 2d 2d 2d 2d 2d | 2d 2d 2d 2d 2d 2d 2d 2d |--------|--------|
|00000140| 2d 2d 2d 2d 2d 2d 2d 2d | 2d 2d 2d 2d 2d 2d 2d 2d |--------|--------|
|00000150| 2d 2d 2d 2d 2d 2d 2d 2d | 2d 2d 2d 2d 2d 2d 2d 2d |--------|--------|
|00000160| 2d 2d 2d 2d 2d 2d 2d 2d | 2d 2d 2d 2d 2d 2d 2d 2d |--------|--------|
|00000170| 2d 2d 2d 2d 2d 2d 2d 2d | 2d 2d 2d 2d 2d 2d 2d 2d |--------|--------|
|00000180| 2d 2d 2d 2d 2d 2a 2f 0d | 2f 2a 0d 20 2a 20 77 69 |-----*/.|/*. * wi|
|00000190| 6e 64 75 74 69 6c 73 2e | 63 20 2d 2d 20 77 69 6e |ndutils.|c -- win|
|000001a0| 64 6f 77 20 64 72 61 77 | 69 6e 67 2f 73 63 72 6f |dow draw|ing/scro|
|000001b0| 6c 6c 69 6e 67 20 75 74 | 69 6c 69 74 79 20 66 75 |lling ut|ility fu|
|000001c0| 6e 63 74 69 6f 6e 73 0d | 20 2a 0d 20 2a 20 63 68 |nctions.| *. * ch|
|000001d0| 61 6e 67 65 20 68 69 73 | 74 6f 72 79 3a 0d 20 2a |ange his|tory:. *|
|000001e0| 0d 20 2a 20 53 4a 46 09 | 09 30 38 2f 32 33 2f 39 |. * SJF.|.08/23/9|
|000001f0| 33 09 09 31 2e 30 66 31 | 09 09 75 70 64 61 74 65 |3..1.0f1|..update|
|00000200| 20 74 6f 20 66 69 6e 61 | 6c 20 68 65 61 64 65 72 | to fina|l header|
|00000210| 73 2c 20 66 69 78 20 63 | 6f 6d 6d 65 6e 74 73 0d |s, fix c|omments.|
|00000220| 20 2a 20 53 4a 46 09 09 | 30 34 2f 32 31 2f 39 33 | * SJF..|04/21/93|
|00000230| 09 09 31 2e 30 62 32 09 | 09 75 70 64 61 74 65 20 |..1.0b2.|.update |
|00000240| 74 6f 20 62 32 0d 20 2a | 20 53 4a 46 09 09 30 33 |to b2. *| SJF..03|
|00000250| 2f 30 31 2f 39 33 09 09 | 31 2e 30 62 31 09 09 61 |/01/93..|1.0b1..a|
|00000260| 64 64 65 64 20 64 69 67 | 69 74 61 6c 20 73 69 67 |dded dig|ital sig|
|00000270| 6e 61 74 75 72 65 73 0d | 20 2a 20 53 4a 46 09 09 |natures.| * SJF..|
|00000280| 30 32 2f 30 39 2f 39 33 | 09 09 31 2e 30 62 31 09 |02/09/93|..1.0b1.|
|00000290| 09 75 70 64 61 74 65 20 | 74 6f 20 62 31 0d 20 2a |.update |to b1. *|
|000002a0| 20 53 4a 46 09 09 31 30 | 2f 31 33 2f 39 32 09 09 | SJF..10|/13/92..|
|000002b0| 31 2e 30 64 34 09 09 75 | 70 64 61 74 65 20 74 6f |1.0d4..u|pdate to|
|000002c0| 20 61 31 31 0d 20 2a 20 | 53 4a 46 09 09 30 39 2f | a11. * |SJF..09/|
|000002d0| 30 39 2f 39 32 09 09 31 | 2e 30 64 33 09 09 75 70 |09/92..1|.0d3..up|
|000002e0| 64 61 74 65 20 74 6f 20 | 61 39 0d 20 2a 20 53 4a |date to |a9. * SJ|
|000002f0| 46 09 09 30 35 2f 30 37 | 2f 39 32 09 09 31 2e 30 |F..05/07|/92..1.0|
|00000300| 64 32 09 09 75 70 64 61 | 74 65 20 74 6f 20 61 36 |d2..upda|te to a6|
|00000310| 0d 20 2a 20 53 4a 46 09 | 09 31 31 2f 30 36 2f 39 |. * SJF.|.11/06/9|
|00000320| 31 09 09 31 2e 30 64 31 | 09 09 69 6e 69 74 69 61 |1..1.0d1|..initia|
|00000330| 6c 20 63 6f 64 69 6e 67 | 0d 20 2a 0d 20 2a 2f 0d |l coding|. *. */.|
|00000340| 0d 23 70 72 61 67 6d 61 | 20 73 65 67 6d 65 6e 74 |.#pragma| segment|
|00000350| 20 6f 74 68 65 72 73 65 | 67 6d 65 6e 74 0d 0d 23 | otherse|gment..#|
|00000360| 69 66 6e 64 65 66 20 5f | 5f 54 59 50 45 53 5f 5f |ifndef _|_TYPES__|
|00000370| 0d 23 69 6e 63 6c 75 64 | 65 20 3c 54 79 70 65 73 |.#includ|e <Types|
|00000380| 2e 68 3e 0d 23 65 6e 64 | 69 66 0d 0d 23 69 66 6e |.h>.#end|if..#ifn|
|00000390| 64 65 66 20 5f 5f 51 55 | 49 43 4b 44 52 41 57 5f |def __QU|ICKDRAW_|
|000003a0| 5f 0d 23 69 6e 63 6c 75 | 64 65 20 3c 51 75 69 63 |_.#inclu|de <Quic|
|000003b0| 6b 44 72 61 77 2e 68 3e | 0d 23 65 6e 64 69 66 0d |kDraw.h>|.#endif.|
|000003c0| 0d 23 69 66 6e 64 65 66 | 20 5f 5f 57 49 4e 44 4f |.#ifndef| __WINDO|
|000003d0| 57 53 5f 5f 0d 23 69 6e | 63 6c 75 64 65 20 3c 57 |WS__.#in|clude <W|
|000003e0| 69 6e 64 6f 77 73 2e 68 | 3e 0d 23 65 6e 64 69 66 |indows.h|>.#endif|
|000003f0| 0d 0d 23 69 66 6e 64 65 | 66 20 5f 5f 4d 45 4d 4f |..#ifnde|f __MEMO|
|00000400| 52 59 5f 5f 0d 23 69 6e | 63 6c 75 64 65 20 3c 4d |RY__.#in|clude <M|
|00000410| 65 6d 6f 72 79 2e 68 3e | 0d 23 65 6e 64 69 66 0d |emory.h>|.#endif.|
|00000420| 0d 23 69 66 6e 64 65 66 | 20 5f 5f 4d 45 4e 55 53 |.#ifndef| __MENUS|
|00000430| 5f 5f 0d 23 69 6e 63 6c | 75 64 65 20 3c 4d 65 6e |__.#incl|ude <Men|
|00000440| 75 73 2e 68 3e 0d 23 65 | 6e 64 69 66 0d 0d 23 69 |us.h>.#e|ndif..#i|
|00000450| 66 6e 64 65 66 20 5f 5f | 4f 43 45 53 54 41 4e 44 |fndef __|OCESTAND|
|00000460| 41 52 44 4d 41 49 4c 5f | 5f 0d 23 69 6e 63 6c 75 |ARDMAIL_|_.#inclu|
|00000470| 64 65 20 3c 4f 43 45 53 | 74 61 6e 64 61 72 64 4d |de <OCES|tandardM|
|00000480| 61 69 6c 2e 68 3e 0d 23 | 65 6e 64 69 66 0d 0d 23 |ail.h>.#|endif..#|
|00000490| 69 6e 63 6c 75 64 65 20 | 22 63 6f 6e 73 74 2e 68 |include |"const.h|
|000004a0| 22 0d 23 69 6e 63 6c 75 | 64 65 20 22 73 74 72 63 |".#inclu|de "strc|
|000004b0| 6f 6e 73 74 2e 68 22 0d | 23 69 6e 63 6c 75 64 65 |onst.h".|#include|
|000004c0| 20 22 6d 79 74 79 70 65 | 73 2e 68 22 0d 23 69 6e | "mytype|s.h".#in|
|000004d0| 63 6c 75 64 65 20 22 67 | 6c 6f 62 61 6c 73 2e 68 |clude "g|lobals.h|
|000004e0| 22 0d 23 69 6e 63 6c 75 | 64 65 20 22 75 74 69 6c |".#inclu|de "util|
|000004f0| 73 2e 68 22 0d 23 69 6e | 63 6c 75 64 65 20 22 77 |s.h".#in|clude "w|
|00000500| 69 6e 64 6f 77 73 74 75 | 66 66 2e 68 22 0d 23 69 |indowstu|ff.h".#i|
|00000510| 6e 63 6c 75 64 65 20 22 | 6d 79 73 74 61 6e 64 61 |nclude "|mystanda|
|00000520| 72 64 6d 61 69 6c 2e 68 | 22 0d 23 69 6e 63 6c 75 |rdmail.h|".#inclu|
|00000530| 64 65 20 22 64 72 61 77 | 2e 77 69 6e 64 6f 77 2e |de "draw|.window.|
|00000540| 68 22 0d 0d 23 69 6e 63 | 6c 75 64 65 20 22 77 69 |h"..#inc|lude "wi|
|00000550| 6e 64 75 74 69 6c 73 2e | 68 22 0d 0d 0d 2f 2a 20 |ndutils.|h".../* |
|00000560| 63 6c 69 70 73 20 6f 75 | 74 20 61 6c 6c 20 6f 66 |clips ou|t all of|
|00000570| 20 74 68 65 20 77 69 6e | 64 6f 77 20 65 78 63 65 | the win|dow exce|
|00000580| 70 74 20 74 68 65 20 67 | 72 6f 77 20 69 63 6f 6e |pt the g|row icon|
|00000590| 20 6c 6f 63 61 74 69 6f | 6e 20 74 6f 20 64 72 61 | locatio|n to dra|
|000005a0| 77 20 74 68 65 20 67 72 | 6f 77 20 69 63 6f 6e 20 |w the gr|ow icon |
|000005b0| 2a 2f 0d 2f 2a 20 74 68 | 69 73 20 69 73 20 74 6f |*/./* th|is is to|
|000005c0| 20 61 76 6f 69 64 20 74 | 68 65 20 70 72 6f 62 6c | avoid t|he probl|
|000005d0| 65 6d 20 63 61 75 73 65 | 64 20 77 68 65 6e 20 79 |em cause|d when y|
|000005e0| 6f 75 20 68 61 76 65 20 | 61 20 77 69 6e 64 6f 77 |ou have |a window|
|000005f0| 20 63 72 6f 73 73 69 6e | 67 20 61 20 42 26 57 20 | crossin|g a B&W |
|00000600| 61 6e 64 20 61 20 63 6f | 6c 6f 72 20 73 63 72 65 |and a co|lor scre|
|00000610| 65 6e 20 2a 2f 0d 0d 76 | 6f 69 64 20 4d 79 44 72 |en */..v|oid MyDr|
|00000620| 61 77 47 72 6f 77 49 63 | 6f 6e 28 57 69 6e 64 6f |awGrowIc|on(Windo|
|00000630| 77 50 74 72 20 77 69 6e | 64 6f 77 29 0d 7b 0d 09 |wPtr win|dow).{..|
|00000640| 47 72 61 66 50 74 72 20 | 73 61 76 65 50 6f 72 74 |GrafPtr |savePort|
|00000650| 3b 0d 09 52 67 6e 48 61 | 6e 64 6c 65 20 73 61 76 |;..RgnHa|ndle sav|
|00000660| 65 43 6c 69 70 3b 0d 09 | 52 65 63 74 20 67 62 52 |eClip;..|Rect gbR|
|00000670| 65 63 74 3b 0d 09 0d 09 | 67 62 52 65 63 74 20 3d |ect;....|gbRect =|
|00000680| 20 77 69 6e 64 6f 77 2d | 3e 70 6f 72 74 52 65 63 | window-|>portRec|
|00000690| 74 3b 0d 09 67 62 52 65 | 63 74 2e 74 6f 70 20 3d |t;..gbRe|ct.top =|
|000006a0| 20 67 62 52 65 63 74 2e | 62 6f 74 74 6f 6d 20 2d | gbRect.|bottom -|
|000006b0| 20 6b 47 72 6f 77 42 6f | 78 57 69 64 74 68 3b 0d | kGrowBo|xWidth;.|
|000006c0| 09 67 62 52 65 63 74 2e | 6c 65 66 74 20 3d 20 67 |.gbRect.|left = g|
|000006d0| 62 52 65 63 74 2e 72 69 | 67 68 74 20 2d 20 6b 47 |bRect.ri|ght - kG|
|000006e0| 72 6f 77 42 6f 78 57 69 | 64 74 68 3b 0d 09 47 65 |rowBoxWi|dth;..Ge|
|000006f0| 74 50 6f 72 74 28 26 73 | 61 76 65 50 6f 72 74 29 |tPort(&s|avePort)|
|00000700| 3b 0d 09 53 65 74 50 6f | 72 74 28 77 69 6e 64 6f |;..SetPo|rt(windo|
|00000710| 77 29 3b 0d 09 0d 09 73 | 61 76 65 43 6c 69 70 20 |w);....s|aveClip |
|00000720| 3d 20 4e 65 77 52 67 6e | 28 29 3b 0d 09 47 65 74 |= NewRgn|();..Get|
|00000730| 43 6c 69 70 28 73 61 76 | 65 43 6c 69 70 29 3b 0d |Clip(sav|eClip);.|
|00000740| 09 43 6c 69 70 52 65 63 | 74 28 26 67 62 52 65 63 |.ClipRec|t(&gbRec|
|00000750| 74 29 3b 0d 09 0d 09 44 | 72 61 77 47 72 6f 77 49 |t);....D|rawGrowI|
|00000760| 63 6f 6e 28 77 69 6e 64 | 6f 77 29 3b 0d 09 0d 09 |con(wind|ow);....|
|00000770| 53 65 74 43 6c 69 70 28 | 73 61 76 65 43 6c 69 70 |SetClip(|saveClip|
|00000780| 29 3b 0d 09 44 69 73 70 | 6f 73 65 52 67 6e 28 73 |);..Disp|oseRgn(s|
|00000790| 61 76 65 43 6c 69 70 29 | 3b 0d 09 0d 09 53 65 74 |aveClip)|;....Set|
|000007a0| 50 6f 72 74 28 73 61 76 | 65 50 6f 72 74 29 3b 0d |Port(sav|ePort);.|
|000007b0| 7d 0d 0d 0d 2f 2a 20 63 | 6c 69 70 20 74 68 65 20 |}.../* c|lip the |
|000007c0| 77 69 6e 64 6f 77 20 74 | 6f 20 6a 75 73 74 20 74 |window t|o just t|
|000007d0| 68 65 20 64 72 61 77 69 | 6e 67 20 61 72 65 61 20 |he drawi|ng area |
|000007e0| 2a 2f 0d 0d 76 6f 69 64 | 20 43 6c 69 70 54 6f 44 |*/..void| ClipToD|
|000007f0| 72 61 77 69 6e 67 28 57 | 69 6e 64 6f 77 50 74 72 |rawing(W|indowPtr|
|00000800| 20 77 69 6e 64 6f 77 2c | 57 49 6e 66 6f 50 74 72 | window,|WInfoPtr|
|00000810| 20 69 6e 66 6f 50 74 72 | 29 0d 7b 0d 09 52 65 63 | infoPtr|).{..Rec|
|00000820| 74 20 6e 65 77 43 6c 69 | 70 52 65 63 74 3b 0d 09 |t newCli|pRect;..|
|00000830| 0d 09 6e 65 77 43 6c 69 | 70 52 65 63 74 20 3d 20 |..newCli|pRect = |
|00000840| 77 69 6e 64 6f 77 2d 3e | 70 6f 72 74 52 65 63 74 |window->|portRect|
|00000850| 3b 0d 09 6e 65 77 43 6c | 69 70 52 65 63 74 2e 74 |;..newCl|ipRect.t|
|00000860| 6f 70 20 2b 3d 20 69 6e | 66 6f 50 74 72 2d 3e 74 |op += in|foPtr->t|
|00000870| 6f 70 49 6e 64 65 6e 74 | 3b 0d 09 6e 65 77 43 6c |opIndent|;..newCl|
|00000880| 69 70 52 65 63 74 2e 6c | 65 66 74 20 2b 3d 20 69 |ipRect.l|eft += i|
|00000890| 6e 66 6f 50 74 72 2d 3e | 6c 65 66 74 49 6e 64 65 |nfoPtr->|leftInde|
|000008a0| 6e 74 3b 0d 09 43 6c 69 | 70 52 65 63 74 28 26 6e |nt;..Cli|pRect(&n|
|000008b0| 65 77 43 6c 69 70 52 65 | 63 74 29 3b 0d 7d 0d 0d |ewClipRe|ct);.}..|
|000008c0| 0d 2f 2a 20 67 65 74 20 | 74 68 65 20 72 65 67 69 |./* get |the regi|
|000008d0| 6f 6e 20 63 6f 6e 74 61 | 69 6e 69 6e 67 20 74 68 |on conta|ining th|
|000008e0| 65 20 73 63 72 6f 6c 6c | 20 62 61 72 73 20 2a 2f |e scroll| bars */|
|000008f0| 0d 0d 52 67 6e 48 61 6e | 64 6c 65 20 47 65 74 53 |..RgnHan|dle GetS|
|00000900| 63 72 6f 6c 6c 65 72 73 | 52 67 6e 28 52 65 63 74 |crollers|Rgn(Rect|
|00000910| 20 2a 77 69 6e 64 6f 77 | 52 65 63 74 29 0d 7b 0d | *window|Rect).{.|
|00000920| 09 52 67 6e 48 61 6e 64 | 6c 65 20 77 69 6e 64 6f |.RgnHand|le windo|
|00000930| 77 52 67 6e 3b 0d 09 52 | 65 63 74 20 77 52 65 63 |wRgn;..R|ect wRec|
|00000940| 74 3b 0d 09 0d 09 77 69 | 6e 64 6f 77 52 67 6e 20 |t;....wi|ndowRgn |
|00000950| 3d 20 4e 65 77 52 67 6e | 28 29 3b 0d 0d 09 4f 70 |= NewRgn|();...Op|
|00000960| 65 6e 52 67 6e 28 29 3b | 0d 09 53 65 74 52 65 63 |enRgn();|..SetRec|
|00000970| 74 28 26 77 52 65 63 74 | 2c 77 69 6e 64 6f 77 52 |t(&wRect|,windowR|
|00000980| 65 63 74 2d 3e 6c 65 66 | 74 2c 77 69 6e 64 6f 77 |ect->lef|t,window|
|00000990| 52 65 63 74 2d 3e 62 6f | 74 74 6f 6d 2d 6b 53 63 |Rect->bo|ttom-kSc|
|000009a0| 72 6f 6c 6c 42 61 72 57 | 69 64 74 68 2c 0d 09 09 |rollBarW|idth,...|
|000009b0| 09 09 77 69 6e 64 6f 77 | 52 65 63 74 2d 3e 72 69 |..window|Rect->ri|
|000009c0| 67 68 74 2d 6b 53 63 72 | 6f 6c 6c 42 61 72 57 69 |ght-kScr|ollBarWi|
|000009d0| 64 74 68 2c 77 69 6e 64 | 6f 77 52 65 63 74 2d 3e |dth,wind|owRect->|
|000009e0| 62 6f 74 74 6f 6d 29 3b | 0d 09 46 72 61 6d 65 52 |bottom);|..FrameR|
|000009f0| 65 63 74 28 26 77 52 65 | 63 74 29 3b 0d 09 53 65 |ect(&wRe|ct);..Se|
|00000a00| 74 52 65 63 74 28 26 77 | 52 65 63 74 2c 77 69 6e |tRect(&w|Rect,win|
|00000a10| 64 6f 77 52 65 63 74 2d | 3e 72 69 67 68 74 2d 6b |dowRect-|>right-k|
|00000a20| 53 63 72 6f 6c 6c 42 61 | 72 57 69 64 74 68 2c 77 |ScrollBa|rWidth,w|
|00000a30| 69 6e 64 6f 77 52 65 63 | 74 2d 3e 74 6f 70 2c 0d |indowRec|t->top,.|
|00000a40| 09 09 09 09 77 69 6e 64 | 6f 77 52 65 63 74 2d 3e |....wind|owRect->|
|00000a50| 72 69 67 68 74 2c 77 69 | 6e 64 6f 77 52 65 63 74 |right,wi|ndowRect|
|00000a60| 2d 3e 62 6f 74 74 6f 6d | 29 3b 0d 09 46 72 61 6d |->bottom|);..Fram|
|00000a70| 65 52 65 63 74 28 26 77 | 52 65 63 74 29 3b 0d 09 |eRect(&w|Rect);..|
|00000a80| 43 6c 6f 73 65 52 67 6e | 28 77 69 6e 64 6f 77 52 |CloseRgn|(windowR|
|00000a90| 67 6e 29 3b 0d 09 0d 09 | 72 65 74 75 72 6e 20 77 |gn);....|return w|
|00000aa0| 69 6e 64 6f 77 52 67 6e | 3b 0d 7d 0d 0d 0d 2f 2a |indowRgn|;.}.../*|
|00000ab0| 20 6d 61 6b 65 20 6f 75 | 72 20 73 63 72 6f 6c 6c | make ou|r scroll|
|00000ac0| 20 62 61 72 73 20 2a 2f | 0d 0d 76 6f 69 64 20 4d | bars */|..void M|
|00000ad0| 61 6b 65 53 63 72 6f 6c | 6c 42 61 72 73 28 57 69 |akeScrol|lBars(Wi|
|00000ae0| 6e 64 6f 77 50 74 72 20 | 77 69 6e 64 6f 77 2c 57 |ndowPtr |window,W|
|00000af0| 49 6e 66 6f 50 74 72 20 | 69 6e 66 6f 50 74 72 29 |InfoPtr |infoPtr)|
|00000b00| 0d 7b 0d 09 47 72 61 66 | 50 74 72 20 73 61 76 65 |.{..Graf|Ptr save|
|00000b10| 50 6f 72 74 3b 0d 09 52 | 65 63 74 20 63 6e 74 72 |Port;..R|ect cntr|
|00000b20| 6c 52 65 63 74 3b 0d 09 | 0d 09 69 6e 66 6f 50 74 |lRect;..|..infoPt|
|00000b30| 72 2d 3e 6f 74 68 65 72 | 44 61 74 61 5b 6b 56 69 |r->other|Data[kVi|
|00000b40| 65 77 4f 66 66 73 65 74 | 5d 20 3d 20 30 3b 0d 09 |ewOffset|] = 0;..|
|00000b50| 0d 09 47 65 74 50 6f 72 | 74 28 26 73 61 76 65 50 |..GetPor|t(&saveP|
|00000b60| 6f 72 74 29 3b 0d 09 53 | 65 74 50 6f 72 74 28 77 |ort);..S|etPort(w|
|00000b70| 69 6e 64 6f 77 29 3b 0d | 0d 09 63 6e 74 72 6c 52 |indow);.|..cntrlR|
|00000b80| 65 63 74 2e 6c 65 66 74 | 20 2b 3d 20 69 6e 66 6f |ect.left| += info|
|00000b90| 50 74 72 2d 3e 6c 65 66 | 74 49 6e 64 65 6e 74 3b |Ptr->lef|tIndent;|
|00000ba0| 0d 09 63 6e 74 72 6c 52 | 65 63 74 20 3d 20 77 69 |..cntrlR|ect = wi|
|00000bb0| 6e 64 6f 77 2d 3e 70 6f | 72 74 52 65 63 74 3b 0d |ndow->po|rtRect;.|
|00000bc0| 09 49 6e 73 65 74 52 65 | 63 74 28 26 63 6e 74 72 |.InsetRe|ct(&cntr|
|00000bd0| 6c 52 65 63 74 2c 2d 31 | 2c 2d 31 29 3b 0d 09 63 |lRect,-1|,-1);..c|
|00000be0| 6e 74 72 6c 52 65 63 74 | 2e 74 6f 70 20 3d 20 63 |ntrlRect|.top = c|
|00000bf0| 6e 74 72 6c 52 65 63 74 | 2e 62 6f 74 74 6f 6d 20 |ntrlRect|.bottom |
|00000c00| 2d 20 6b 53 63 72 6f 6c | 6c 42 61 72 57 69 64 74 |- kScrol|lBarWidt|
|00000c10| 68 3b 0d 09 63 6e 74 72 | 6c 52 65 63 74 2e 72 69 |h;..cntr|lRect.ri|
|00000c20| 67 68 74 20 3d 20 63 6e | 74 72 6c 52 65 63 74 2e |ght = cn|trlRect.|
|00000c30| 72 69 67 68 74 20 2d 20 | 6b 47 72 6f 77 42 6f 78 |right - |kGrowBox|
|00000c40| 57 69 64 74 68 3b 0d 09 | 48 53 43 52 4f 4c 4c 20 |Width;..|HSCROLL |
|00000c50| 3d 20 4e 65 77 43 6f 6e | 74 72 6f 6c 28 77 69 6e |= NewCon|trol(win|
|00000c60| 64 6f 77 2c 26 63 6e 74 | 72 6c 52 65 63 74 2c 22 |dow,&cnt|rlRect,"|
|00000c70| 5c 70 22 2c 66 61 6c 73 | 65 2c 30 2c 30 2c 30 2c |\p",fals|e,0,0,0,|
|00000c80| 73 63 72 6f 6c 6c 42 61 | 72 50 72 6f 63 2c 30 29 |scrollBa|rProc,0)|
|00000c90| 3b 0d 09 56 61 6c 69 64 | 52 65 63 74 28 26 63 6e |;..Valid|Rect(&cn|
|00000ca0| 74 72 6c 52 65 63 74 29 | 3b 0d 0d 09 63 6e 74 72 |trlRect)|;...cntr|
|00000cb0| 6c 52 65 63 74 20 3d 20 | 77 69 6e 64 6f 77 2d 3e |lRect = |window->|
|00000cc0| 70 6f 72 74 52 65 63 74 | 3b 0d 09 49 6e 73 65 74 |portRect|;..Inset|
|00000cd0| 52 65 63 74 28 26 63 6e | 74 72 6c 52 65 63 74 2c |Rect(&cn|trlRect,|
|00000ce0| 2d 31 2c 2d 31 29 3b 0d | 09 63 6e 74 72 6c 52 65 |-1,-1);.|.cntrlRe|
|00000cf0| 63 74 2e 6c 65 66 74 20 | 3d 20 63 6e 74 72 6c 52 |ct.left |= cntrlR|
|00000d00| 65 63 74 2e 72 69 67 68 | 74 20 2d 20 6b 53 63 72 |ect.righ|t - kScr|
|00000d10| 6f 6c 6c 42 61 72 57 69 | 64 74 68 3b 0d 09 63 6e |ollBarWi|dth;..cn|
|00000d20| 74 72 6c 52 65 63 74 2e | 62 6f 74 74 6f 6d 20 3d |trlRect.|bottom =|
|00000d30| 20 63 6e 74 72 6c 52 65 | 63 74 2e 62 6f 74 74 6f | cntrlRe|ct.botto|
|00000d40| 6d 20 2d 20 6b 47 72 6f | 77 42 6f 78 57 69 64 74 |m - kGro|wBoxWidt|
|00000d50| 68 3b 0d 09 63 6e 74 72 | 6c 52 65 63 74 2e 74 6f |h;..cntr|lRect.to|
|00000d60| 70 20 2b 3d 20 69 6e 66 | 6f 50 74 72 2d 3e 74 6f |p += inf|oPtr->to|
|00000d70| 70 49 6e 64 65 6e 74 3b | 0d 09 56 53 43 52 4f 4c |pIndent;|..VSCROL|
|00000d80| 4c 20 3d 20 4e 65 77 43 | 6f 6e 74 72 6f 6c 28 77 |L = NewC|ontrol(w|
|00000d90| 69 6e 64 6f 77 2c 26 63 | 6e 74 72 6c 52 65 63 74 |indow,&c|ntrlRect|
|00000da0| 2c 22 5c 70 22 2c 66 61 | 6c 73 65 2c 30 2c 30 2c |,"\p",fa|lse,0,0,|
|00000db0| 30 2c 73 63 72 6f 6c 6c | 42 61 72 50 72 6f 63 2c |0,scroll|BarProc,|
|00000dc0| 30 29 3b 0d 09 56 61 6c | 69 64 52 65 63 74 28 26 |0);..Val|idRect(&|
|00000dd0| 63 6e 74 72 6c 52 65 63 | 74 29 3b 0d 0d 09 52 65 |cntrlRec|t);...Re|
|00000de0| 43 61 6c 63 53 63 72 6f | 6c 6c 42 61 72 73 28 77 |CalcScro|llBars(w|
|00000df0| 69 6e 64 6f 77 2c 69 6e | 66 6f 50 74 72 29 3b 0d |indow,in|foPtr);.|
|00000e00| 09 53 68 6f 77 43 6f 6e | 74 72 6f 6c 28 28 43 6f |.ShowCon|trol((Co|
|00000e10| 6e 74 72 6f 6c 48 61 6e | 64 6c 65 29 48 53 43 52 |ntrolHan|dle)HSCR|
|00000e20| 4f 4c 4c 29 3b 0d 09 53 | 68 6f 77 43 6f 6e 74 72 |OLL);..S|howContr|
|00000e30| 6f 6c 28 28 43 6f 6e 74 | 72 6f 6c 48 61 6e 64 6c |ol((Cont|rolHandl|
|00000e40| 65 29 56 53 43 52 4f 4c | 4c 29 3b 0d 09 0d 09 53 |e)VSCROL|L);....S|
|00000e50| 65 74 50 6f 72 74 28 73 | 61 76 65 50 6f 72 74 29 |etPort(s|avePort)|
|00000e60| 3b 0d 7d 0d 0d 0d 2f 2a | 20 6d 6f 76 65 20 74 68 |;.}.../*| move th|
|00000e70| 65 20 73 63 72 6f 6c 6c | 20 62 61 72 73 20 77 68 |e scroll| bars wh|
|00000e80| 65 6e 20 74 68 65 20 77 | 69 6e 64 6f 77 20 6d 6f |en the w|indow mo|
|00000e90| 76 65 73 20 2a 2f 0d 0d | 76 6f 69 64 20 4d 6f 76 |ves */..|void Mov|
|00000ea0| 65 53 63 72 6f 6c 6c 42 | 61 72 73 28 57 69 6e 64 |eScrollB|ars(Wind|
|00000eb0| 6f 77 50 74 72 20 77 69 | 6e 64 6f 77 29 0d 7b 0d |owPtr wi|ndow).{.|
|00000ec0| 09 57 49 6e 66 6f 50 74 | 72 20 69 6e 66 6f 50 74 |.WInfoPt|r infoPt|
|00000ed0| 72 3b 0d 09 63 68 61 72 | 20 68 53 74 61 74 65 3b |r;..char| hState;|
|00000ee0| 0d 09 52 65 63 74 20 63 | 6e 74 72 6c 52 65 63 74 |..Rect c|ntrlRect|
|00000ef0| 3b 0d 09 47 72 61 66 50 | 74 72 20 73 61 76 65 50 |;..GrafP|tr saveP|
|00000f00| 6f 72 74 3b 0d 09 0d 09 | 47 65 74 50 6f 72 74 28 |ort;....|GetPort(|
|00000f10| 26 73 61 76 65 50 6f 72 | 74 29 3b 0d 09 53 65 74 |&savePor|t);..Set|
|00000f20| 50 6f 72 74 28 77 69 6e | 64 6f 77 29 3b 0d 09 0d |Port(win|dow);...|
|00000f30| 09 69 6e 66 6f 50 74 72 | 20 3d 20 42 65 67 69 6e |.infoPtr| = Begin|
|00000f40| 57 69 6e 64 6f 77 41 63 | 63 65 73 73 28 77 69 6e |WindowAc|cess(win|
|00000f50| 64 6f 77 2c 26 68 53 74 | 61 74 65 29 3b 0d 0d 09 |dow,&hSt|ate);...|
|00000f60| 48 69 64 65 43 6f 6e 74 | 72 6f 6c 28 28 43 6f 6e |HideCont|rol((Con|
|00000f70| 74 72 6f 6c 48 61 6e 64 | 6c 65 29 56 53 43 52 4f |trolHand|le)VSCRO|
|00000f80| 4c 4c 29 3b 0d 09 48 69 | 64 65 43 6f 6e 74 72 6f |LL);..Hi|deContro|
|00000f90| 6c 28 28 43 6f 6e 74 72 | 6f 6c 48 61 6e 64 6c 65 |l((Contr|olHandle|
|00000fa0| 29 48 53 43 52 4f 4c 4c | 29 3b 0d 0d 09 69 66 20 |)HSCROLL|);...if |
|00000fb0| 28 69 6e 66 6f 50 74 72 | 2d 3e 74 6f 70 49 6e 64 |(infoPtr|->topInd|
|00000fc0| 65 6e 74 3c 3d 28 77 69 | 6e 64 6f 77 2d 3e 70 6f |ent<=(wi|ndow->po|
|00000fd0| 72 74 52 65 63 74 2e 62 | 6f 74 74 6f 6d 2d 6b 47 |rtRect.b|ottom-kG|
|00000fe0| 72 6f 77 42 6f 78 57 69 | 64 74 68 29 20 26 26 0d |rowBoxWi|dth) &&.|
|00000ff0| 09 09 69 6e 66 6f 50 74 | 72 2d 3e 6c 65 66 74 49 |..infoPt|r->leftI|
|00001000| 6e 64 65 6e 74 3c 3d 28 | 77 69 6e 64 6f 77 2d 3e |ndent<=(|window->|
|00001010| 70 6f 72 74 52 65 63 74 | 2e 72 69 67 68 74 2d 6b |portRect|.right-k|
|00001020| 47 72 6f 77 42 6f 78 57 | 69 64 74 68 29 29 20 7b |GrowBoxW|idth)) {|
|00001030| 0d 09 09 0d 09 09 63 6e | 74 72 6c 52 65 63 74 20 |......cn|trlRect |
|00001040| 3d 20 77 69 6e 64 6f 77 | 2d 3e 70 6f 72 74 52 65 |= window|->portRe|
|00001050| 63 74 3b 0d 09 09 49 6e | 73 65 74 52 65 63 74 28 |ct;...In|setRect(|
|00001060| 26 63 6e 74 72 6c 52 65 | 63 74 2c 2d 31 2c 2d 31 |&cntrlRe|ct,-1,-1|
|00001070| 29 3b 0d 09 09 63 6e 74 | 72 6c 52 65 63 74 2e 74 |);...cnt|rlRect.t|
|00001080| 6f 70 20 3d 20 63 6e 74 | 72 6c 52 65 63 74 2e 62 |op = cnt|rlRect.b|
|00001090| 6f 74 74 6f 6d 20 2d 20 | 6b 53 63 72 6f 6c 6c 42 |ottom - |kScrollB|
|000010a0| 61 72 57 69 64 74 68 3b | 0d 09 09 63 6e 74 72 6c |arWidth;|...cntrl|
|000010b0| 52 65 63 74 2e 72 69 67 | 68 74 20 3d 20 63 6e 74 |Rect.rig|ht = cnt|
|000010c0| 72 6c 52 65 63 74 2e 72 | 69 67 68 74 20 2d 20 6b |rlRect.r|ight - k|
|000010d0| 47 72 6f 77 42 6f 78 57 | 69 64 74 68 3b 0d 09 09 |GrowBoxW|idth;...|
|000010e0| 63 6e 74 72 6c 52 65 63 | 74 2e 6c 65 66 74 20 2b |cntrlRec|t.left +|
|000010f0| 3d 20 69 6e 66 6f 50 74 | 72 2d 3e 6c 65 66 74 49 |= infoPt|r->leftI|
|00001100| 6e 64 65 6e 74 3b 0d 09 | 09 4d 6f 76 65 43 6f 6e |ndent;..|.MoveCon|
|00001110| 74 72 6f 6c 28 48 53 43 | 52 4f 4c 4c 2c 63 6e 74 |trol(HSC|ROLL,cnt|
|00001120| 72 6c 52 65 63 74 2e 6c | 65 66 74 2c 63 6e 74 72 |rlRect.l|eft,cntr|
|00001130| 6c 52 65 63 74 2e 74 6f | 70 29 3b 0d 09 09 53 69 |lRect.to|p);...Si|
|00001140| 7a 65 43 6f 6e 74 72 6f | 6c 28 48 53 43 52 4f 4c |zeContro|l(HSCROL|
|00001150| 4c 2c 63 6e 74 72 6c 52 | 65 63 74 2e 72 69 67 68 |L,cntrlR|ect.righ|
|00001160| 74 2d 63 6e 74 72 6c 52 | 65 63 74 2e 6c 65 66 74 |t-cntrlR|ect.left|
|00001170| 2c 63 6e 74 72 6c 52 65 | 63 74 2e 62 6f 74 74 6f |,cntrlRe|ct.botto|
|00001180| 6d 2d 63 6e 74 72 6c 52 | 65 63 74 2e 74 6f 70 29 |m-cntrlR|ect.top)|
|00001190| 3b 0d 09 09 56 61 6c 69 | 64 52 65 63 74 28 26 63 |;...Vali|dRect(&c|
|000011a0| 6e 74 72 6c 52 65 63 74 | 29 3b 0d 09 0d 09 09 63 |ntrlRect|);.....c|
|000011b0| 6e 74 72 6c 52 65 63 74 | 20 3d 20 77 69 6e 64 6f |ntrlRect| = windo|
|000011c0| 77 2d 3e 70 6f 72 74 52 | 65 63 74 3b 0d 09 09 49 |w->portR|ect;...I|
|000011d0| 6e 73 65 74 52 65 63 74 | 28 26 63 6e 74 72 6c 52 |nsetRect|(&cntrlR|
|000011e0| 65 63 74 2c 2d 31 2c 2d | 31 29 3b 0d 09 09 63 6e |ect,-1,-|1);...cn|
|000011f0| 74 72 6c 52 65 63 74 2e | 6c 65 66 74 20 3d 20 63 |trlRect.|left = c|
|00001200| 6e 74 72 6c 52 65 63 74 | 2e 72 69 67 68 74 20 2d |ntrlRect|.right -|
|00001210| 20 6b 53 63 72 6f 6c 6c | 42 61 72 57 69 64 74 68 | kScroll|BarWidth|
|00001220| 3b 0d 09 09 63 6e 74 72 | 6c 52 65 63 74 2e 62 6f |;...cntr|lRect.bo|
|00001230| 74 74 6f 6d 20 3d 20 63 | 6e 74 72 6c 52 65 63 74 |ttom = c|ntrlRect|
|00001240| 2e 62 6f 74 74 6f 6d 20 | 2d 20 6b 47 72 6f 77 42 |.bottom |- kGrowB|
|00001250| 6f 78 57 69 64 74 68 3b | 0d 09 09 63 6e 74 72 6c |oxWidth;|...cntrl|
|00001260| 52 65 63 74 2e 74 6f 70 | 20 2b 3d 20 69 6e 66 6f |Rect.top| += info|
|00001270| 50 74 72 2d 3e 74 6f 70 | 49 6e 64 65 6e 74 3b 0d |Ptr->top|Indent;.|
|00001280| 09 09 4d 6f 76 65 43 6f | 6e 74 72 6f 6c 28 56 53 |..MoveCo|ntrol(VS|
|00001290| 43 52 4f 4c 4c 2c 63 6e | 74 72 6c 52 65 63 74 2e |CROLL,cn|trlRect.|
|000012a0| 6c 65 66 74 2c 63 6e 74 | 72 6c 52 65 63 74 2e 74 |left,cnt|rlRect.t|
|000012b0| 6f 70 29 3b 0d 09 09 53 | 69 7a 65 43 6f 6e 74 72 |op);...S|izeContr|
|000012c0| 6f 6c 28 56 53 43 52 4f | 4c 4c 2c 63 6e 74 72 6c |ol(VSCRO|LL,cntrl|
|000012d0| 52 65 63 74 2e 72 69 67 | 68 74 2d 63 6e 74 72 6c |Rect.rig|ht-cntrl|
|000012e0| 52 65 63 74 2e 6c 65 66 | 74 2c 63 6e 74 72 6c 52 |Rect.lef|t,cntrlR|
|000012f0| 65 63 74 2e 62 6f 74 74 | 6f 6d 2d 63 6e 74 72 6c |ect.bott|om-cntrl|
|00001300| 52 65 63 74 2e 74 6f 70 | 29 3b 0d 09 09 56 61 6c |Rect.top|);...Val|
|00001310| 69 64 52 65 63 74 28 26 | 63 6e 74 72 6c 52 65 63 |idRect(&|cntrlRec|
|00001320| 74 29 3b 0d 09 0d 09 09 | 52 65 43 61 6c 63 53 63 |t);.....|ReCalcSc|
|00001330| 72 6f 6c 6c 42 61 72 73 | 28 77 69 6e 64 6f 77 2c |rollBars|(window,|
|00001340| 69 6e 66 6f 50 74 72 29 | 3b 0d 09 09 0d 09 09 53 |infoPtr)|;......S|
|00001350| 68 6f 77 43 6f 6e 74 72 | 6f 6c 28 48 53 43 52 4f |howContr|ol(HSCRO|
|00001360| 4c 4c 29 3b 0d 09 09 53 | 68 6f 77 43 6f 6e 74 72 |LL);...S|howContr|
|00001370| 6f 6c 28 56 53 43 52 4f | 4c 4c 29 3b 0d 0d 09 7d |ol(VSCRO|LL);...}|
|00001380| 0d 09 0d 09 45 6e 64 57 | 69 6e 64 6f 77 41 63 63 |....EndW|indowAcc|
|00001390| 65 73 73 28 77 69 6e 64 | 6f 77 2c 68 53 74 61 74 |ess(wind|ow,hStat|
|000013a0| 65 29 3b 0d 09 53 65 74 | 50 6f 72 74 28 73 61 76 |e);..Set|Port(sav|
|000013b0| 65 50 6f 72 74 29 3b 0d | 7d 0d 0d 0d 2f 2a 20 72 |ePort);.|}.../* r|
|000013c0| 65 63 61 6c 63 75 6c 61 | 74 65 20 74 68 65 20 73 |ecalcula|te the s|
|000013d0| 63 72 6f 6c 6c 20 62 61 | 72 73 20 77 68 65 6e 20 |croll ba|rs when |
|000013e0| 74 68 65 20 77 69 6e 64 | 6f 77 20 63 68 61 6e 67 |the wind|ow chang|
|000013f0| 65 73 20 2a 2f 0d 0d 76 | 6f 69 64 20 52 65 43 61 |es */..v|oid ReCa|
|00001400| 6c 63 53 63 72 6f 6c 6c | 42 61 72 73 28 57 69 6e |lcScroll|Bars(Win|
|00001410| 64 6f 77 50 74 72 20 77 | 69 6e 64 6f 77 2c 57 49 |dowPtr w|indow,WI|
|00001420| 6e 66 6f 50 74 72 20 69 | 6e 66 6f 50 74 72 29 0d |nfoPtr i|nfoPtr).|
|00001430| 7b 0d 09 52 65 63 74 20 | 76 69 65 77 42 6f 75 6e |{..Rect |viewBoun|
|00001440| 64 73 2c 70 61 67 65 52 | 65 63 74 3b 0d 09 73 68 |ds,pageR|ect;..sh|
|00001450| 6f 72 74 20 76 4d 61 78 | 2c 68 4d 61 78 3b 0d 09 |ort vMax|,hMax;..|
|00001460| 50 6f 69 6e 74 20 2a 73 | 63 72 6f 6c 6c 50 6f 73 |Point *s|crollPos|
|00001470| 3b 0d 09 0d 09 47 65 74 | 56 69 65 77 42 6f 75 6e |;....Get|ViewBoun|
|00001480| 64 73 28 77 69 6e 64 6f | 77 2c 69 6e 66 6f 50 74 |ds(windo|w,infoPt|
|00001490| 72 2c 26 76 69 65 77 42 | 6f 75 6e 64 73 29 3b 0d |r,&viewB|ounds);.|
|000014a0| 09 70 61 67 65 52 65 63 | 74 20 3d 20 28 2a 2a 28 |.pageRec|t = (**(|
|000014b0| 69 6e 66 6f 50 74 72 2d | 3e 70 72 69 6e 74 52 65 |infoPtr-|>printRe|
|000014c0| 63 6f 72 64 29 29 2e 70 | 72 49 6e 66 6f 2e 72 50 |cord)).p|rInfo.rP|
|000014d0| 61 67 65 3b 0d 09 73 63 | 72 6f 6c 6c 50 6f 73 20 |age;..sc|rollPos |
|000014e0| 3d 20 28 50 6f 69 6e 74 | 20 2a 29 26 69 6e 66 6f |= (Point| *)&info|
|000014f0| 50 74 72 2d 3e 6f 74 68 | 65 72 44 61 74 61 5b 6b |Ptr->oth|erData[k|
|00001500| 56 69 65 77 4f 66 66 73 | 65 74 5d 3b 0d 09 0d 09 |ViewOffs|et];....|
|00001510| 68 4d 61 78 20 3d 20 28 | 70 61 67 65 52 65 63 74 |hMax = (|pageRect|
|00001520| 2e 72 69 67 68 74 2d 70 | 61 67 65 52 65 63 74 2e |.right-p|ageRect.|
|00001530| 6c 65 66 74 29 20 2d 20 | 28 76 69 65 77 42 6f 75 |left) - |(viewBou|
|00001540| 6e 64 73 2e 72 69 67 68 | 74 2d 76 69 65 77 42 6f |nds.righ|t-viewBo|
|00001550| 75 6e 64 73 2e 6c 65 66 | 74 29 3b 0d 09 76 4d 61 |unds.lef|t);..vMa|
|00001560| 78 20 3d 20 28 70 61 67 | 65 52 65 63 74 2e 62 6f |x = (pag|eRect.bo|
|00001570| 74 74 6f 6d 2d 70 61 67 | 65 52 65 63 74 2e 74 6f |ttom-pag|eRect.to|
|00001580| 70 29 20 2d 20 28 76 69 | 65 77 42 6f 75 6e 64 73 |p) - (vi|ewBounds|
|00001590| 2e 62 6f 74 74 6f 6d 2d | 76 69 65 77 42 6f 75 6e |.bottom-|viewBoun|
|000015a0| 64 73 2e 74 6f 70 29 3b | 0d 09 0d 09 69 66 20 28 |ds.top);|....if (|
|000015b0| 68 4d 61 78 3c 30 29 0d | 09 09 68 4d 61 78 3d 30 |hMax<0).|..hMax=0|
|000015c0| 3b 0d 09 69 66 20 28 76 | 4d 61 78 3c 30 29 0d 09 |;..if (v|Max<0)..|
|000015d0| 09 76 4d 61 78 3d 30 3b | 0d 09 0d 09 69 66 20 28 |.vMax=0;|....if (|
|000015e0| 20 28 73 63 72 6f 6c 6c | 50 6f 73 2d 3e 68 2b 28 | (scroll|Pos->h+(|
|000015f0| 76 69 65 77 42 6f 75 6e | 64 73 2e 72 69 67 68 74 |viewBoun|ds.right|
|00001600| 2d 76 69 65 77 42 6f 75 | 6e 64 73 2e 6c 65 66 74 |-viewBou|nds.left|
|00001610| 29 29 20 3e 20 28 70 61 | 67 65 52 65 63 74 2e 72 |)) > (pa|geRect.r|
|00001620| 69 67 68 74 2d 70 61 67 | 65 52 65 63 74 2e 6c 65 |ight-pag|eRect.le|
|00001630| 66 74 29 20 29 0d 09 09 | 73 63 72 6f 6c 6c 50 6f |ft) )...|scrollPo|
|00001640| 73 2d 3e 68 20 3d 20 28 | 70 61 67 65 52 65 63 74 |s->h = (|pageRect|
|00001650| 2e 72 69 67 68 74 2d 70 | 61 67 65 52 65 63 74 2e |.right-p|ageRect.|
|00001660| 6c 65 66 74 29 20 2d 20 | 28 76 69 65 77 42 6f 75 |left) - |(viewBou|
|00001670| 6e 64 73 2e 72 69 67 68 | 74 2d 76 69 65 77 42 6f |nds.righ|t-viewBo|
|00001680| 75 6e 64 73 2e 6c 65 66 | 74 29 3b 0d 09 69 66 20 |unds.lef|t);..if |
|00001690| 28 20 28 73 63 72 6f 6c | 6c 50 6f 73 2d 3e 76 2b |( (scrol|lPos->v+|
|000016a0| 28 76 69 65 77 42 6f 75 | 6e 64 73 2e 62 6f 74 74 |(viewBou|nds.bott|
|000016b0| 6f 6d 2d 76 69 65 77 42 | 6f 75 6e 64 73 2e 74 6f |om-viewB|ounds.to|
|000016c0| 70 29 29 20 3e 20 28 70 | 61 67 65 52 65 63 74 2e |p)) > (p|ageRect.|
|000016d0| 62 6f 74 74 6f 6d 2d 70 | 61 67 65 52 65 63 74 2e |bottom-p|ageRect.|
|000016e0| 74 6f 70 29 20 29 0d 09 | 09 73 63 72 6f 6c 6c 50 |top) )..|.scrollP|
|000016f0| 6f 73 2d 3e 76 20 3d 20 | 28 70 61 67 65 52 65 63 |os->v = |(pageRec|
|00001700| 74 2e 62 6f 74 74 6f 6d | 2d 70 61 67 65 52 65 63 |t.bottom|-pageRec|
|00001710| 74 2e 74 6f 70 29 20 2d | 20 28 76 69 65 77 42 6f |t.top) -| (viewBo|
|00001720| 75 6e 64 73 2e 62 6f 74 | 74 6f 6d 2d 76 69 65 77 |unds.bot|tom-view|
|00001730| 42 6f 75 6e 64 73 2e 74 | 6f 70 29 3b 0d 09 09 0d |Bounds.t|op);....|
|00001740| 09 53 65 74 43 74 6c 4d | 61 78 28 28 43 6f 6e 74 |.SetCtlM|ax((Cont|
|00001750| 72 6f 6c 48 61 6e 64 6c | 65 29 48 53 43 52 4f 4c |rolHandl|e)HSCROL|
|00001760| 4c 2c 68 4d 61 78 29 3b | 0d 09 53 65 74 43 74 6c |L,hMax);|..SetCtl|
|00001770| 4d 61 78 28 28 43 6f 6e | 74 72 6f 6c 48 61 6e 64 |Max((Con|trolHand|
|00001780| 6c 65 29 56 53 43 52 4f | 4c 4c 2c 76 4d 61 78 29 |le)VSCRO|LL,vMax)|
|00001790| 3b 0d 09 53 65 74 43 74 | 6c 56 61 6c 75 65 28 28 |;..SetCt|lValue((|
|000017a0| 43 6f 6e 74 72 6f 6c 48 | 61 6e 64 6c 65 29 48 53 |ControlH|andle)HS|
|000017b0| 43 52 4f 4c 4c 2c 73 63 | 72 6f 6c 6c 50 6f 73 2d |CROLL,sc|rollPos-|
|000017c0| 3e 68 29 3b 0d 09 53 65 | 74 43 74 6c 56 61 6c 75 |>h);..Se|tCtlValu|
|000017d0| 65 28 28 43 6f 6e 74 72 | 6f 6c 48 61 6e 64 6c 65 |e((Contr|olHandle|
|000017e0| 29 56 53 43 52 4f 4c 4c | 2c 73 63 72 6f 6c 6c 50 |)VSCROLL|,scrollP|
|000017f0| 6f 73 2d 3e 76 29 3b 0d | 09 53 65 74 50 6f 72 74 |os->v);.|.SetPort|
|00001800| 28 77 69 6e 64 6f 77 29 | 3b 0d 7d 0d 0d 0d 2f 2a |(window)|;.}.../*|
|00001810| 20 61 63 74 69 6f 6e 20 | 63 61 6c 6c 62 61 63 6b | action |callback|
|00001820| 20 74 6f 20 73 63 72 6f | 6c 6c 20 74 68 65 20 64 | to scro|ll the d|
|00001830| 6f 63 75 6d 65 6e 74 20 | 2a 2f 0d 0d 70 61 73 63 |ocument |*/..pasc|
|00001840| 61 6c 20 76 6f 69 64 20 | 53 63 72 6f 6c 6c 41 63 |al void |ScrollAc|
|00001850| 74 69 6f 6e 50 72 6f 63 | 28 43 6f 6e 74 72 6f 6c |tionProc|(Control|
|00001860| 48 61 6e 64 6c 65 20 74 | 68 65 43 6f 6e 74 72 6f |Handle t|heContro|
|00001870| 6c 2c 73 68 6f 72 74 20 | 70 61 72 74 29 0d 7b 0d |l,short |part).{.|
|00001880| 09 73 68 6f 72 74 20 63 | 74 6c 56 61 6c 75 65 2c |.short c|tlValue,|
|00001890| 64 65 6c 74 61 2c 63 74 | 6c 4d 69 6e 2c 63 74 6c |delta,ct|lMin,ctl|
|000018a0| 4d 61 78 2c 70 61 67 65 | 44 69 73 74 61 6e 63 65 |Max,page|Distance|
|000018b0| 2c 64 65 6c 74 61 48 2c | 64 65 6c 74 61 56 3b 09 |,deltaH,|deltaV;.|
|000018c0| 0d 09 52 65 63 74 20 76 | 69 65 77 52 65 63 74 3b |..Rect v|iewRect;|
|000018d0| 0d 09 57 69 6e 64 6f 77 | 50 74 72 20 77 69 6e 64 |..Window|Ptr wind|
|000018e0| 6f 77 3b 0d 09 57 49 6e | 66 6f 50 74 72 20 69 6e |ow;..WIn|foPtr in|
|000018f0| 66 6f 50 74 72 3b 0d 09 | 63 68 61 72 20 68 53 74 |foPtr;..|char hSt|
|00001900| 61 74 65 3b 0d 09 0d 09 | 69 66 20 28 70 61 72 74 |ate;....|if (part|
|00001910| 3d 3d 30 29 0d 09 09 72 | 65 74 75 72 6e 3b 0d 09 |==0)...r|eturn;..|
|00001920| 09 0d 09 77 69 6e 64 6f | 77 20 3d 20 28 2a 2a 74 |...windo|w = (**t|
|00001930| 68 65 43 6f 6e 74 72 6f | 6c 29 2e 63 6f 6e 74 72 |heContro|l).contr|
|00001940| 6c 4f 77 6e 65 72 3b 0d | 09 69 66 20 28 21 49 73 |lOwner;.|.if (!Is|
|00001950| 41 70 70 57 69 6e 64 6f | 77 28 77 69 6e 64 6f 77 |AppWindo|w(window|
|00001960| 29 29 0d 09 09 72 65 74 | 75 72 6e 3b 0d 09 0d 09 |))...ret|urn;....|
|00001970| 69 6e 66 6f 50 74 72 20 | 3d 20 42 65 67 69 6e 57 |infoPtr |= BeginW|
|00001980| 69 6e 64 6f 77 41 63 63 | 65 73 73 28 77 69 6e 64 |indowAcc|ess(wind|
|00001990| 6f 77 2c 26 68 53 74 61 | 74 65 29 3b 0d 09 0d 09 |ow,&hSta|te);....|
|000019a0| 47 65 74 56 69 65 77 42 | 6f 75 6e 64 73 28 77 69 |GetViewB|ounds(wi|
|000019b0| 6e 64 6f 77 2c 69 6e 66 | 6f 50 74 72 2c 26 76 69 |ndow,inf|oPtr,&vi|
|000019c0| 65 77 52 65 63 74 29 3b | 0d 09 70 61 67 65 44 69 |ewRect);|..pageDi|
|000019d0| 73 74 61 6e 63 65 20 3d | 20 76 69 65 77 52 65 63 |stance =| viewRec|
|000019e0| 74 2e 62 6f 74 74 6f 6d | 2d 76 69 65 77 52 65 63 |t.bottom|-viewRec|
|000019f0| 74 2e 74 6f 70 3b 0d 09 | 0d 09 63 74 6c 56 61 6c |t.top;..|..ctlVal|
|00001a00| 75 65 20 3d 20 47 65 74 | 43 74 6c 56 61 6c 75 65 |ue = Get|CtlValue|
|00001a10| 28 74 68 65 43 6f 6e 74 | 72 6f 6c 29 3b 0d 09 63 |(theCont|rol);..c|
|00001a20| 74 6c 4d 69 6e 20 3d 20 | 47 65 74 43 74 6c 4d 69 |tlMin = |GetCtlMi|
|00001a30| 6e 28 74 68 65 43 6f 6e | 74 72 6f 6c 29 3b 0d 09 |n(theCon|trol);..|
|00001a40| 63 74 6c 4d 61 78 20 3d | 20 47 65 74 43 74 6c 4d |ctlMax =| GetCtlM|
|00001a50| 61 78 28 74 68 65 43 6f | 6e 74 72 6f 6c 29 3b 0d |ax(theCo|ntrol);.|
|00001a60| 09 0d 09 73 77 69 74 63 | 68 20 28 70 61 72 74 29 |...switc|h (part)|
|00001a70| 20 7b 0d 09 09 63 61 73 | 65 20 69 6e 55 70 42 75 | {...cas|e inUpBu|
|00001a80| 74 74 6f 6e 3a 0d 09 09 | 09 64 65 6c 74 61 20 3d |tton:...|.delta =|
|00001a90| 20 2d 6b 53 63 72 6f 6c | 6c 44 69 73 74 61 6e 63 | -kScrol|lDistanc|
|00001aa0| 65 3b 0d 09 09 09 62 72 | 65 61 6b 3b 0d 09 09 63 |e;....br|eak;...c|
|00001ab0| 61 73 65 20 69 6e 44 6f | 77 6e 42 75 74 74 6f 6e |ase inDo|wnButton|
|00001ac0| 3a 0d 09 09 09 64 65 6c | 74 61 20 3d 20 6b 53 63 |:....del|ta = kSc|
|00001ad0| 72 6f 6c 6c 44 69 73 74 | 61 6e 63 65 3b 0d 09 09 |rollDist|ance;...|
|00001ae0| 09 62 72 65 61 6b 3b 0d | 09 09 63 61 73 65 20 69 |.break;.|..case i|
|00001af0| 6e 50 61 67 65 55 70 3a | 0d 09 09 09 64 65 6c 74 |nPageUp:|....delt|
|00001b00| 61 20 3d 20 2d 70 61 67 | 65 44 69 73 74 61 6e 63 |a = -pag|eDistanc|
|00001b10| 65 3b 0d 09 09 09 62 72 | 65 61 6b 3b 0d 09 09 63 |e;....br|eak;...c|
|00001b20| 61 73 65 20 69 6e 50 61 | 67 65 44 6f 77 6e 3a 0d |ase inPa|geDown:.|
|00001b30| 09 09 09 64 65 6c 74 61 | 20 3d 20 70 61 67 65 44 |...delta| = pageD|
|00001b40| 69 73 74 61 6e 63 65 3b | 0d 09 09 09 62 72 65 61 |istance;|....brea|
|00001b50| 6b 3b 0d 09 7d 0d 09 09 | 0d 09 69 66 20 28 20 28 |k;..}...|..if ( (|
|00001b60| 63 74 6c 56 61 6c 75 65 | 2b 64 65 6c 74 61 29 3e |ctlValue|+delta)>|
|00001b70| 63 74 6c 4d 61 78 20 29 | 0d 09 09 64 65 6c 74 61 |ctlMax )|...delta|
|00001b80| 20 3d 20 63 74 6c 4d 61 | 78 2d 63 74 6c 56 61 6c | = ctlMa|x-ctlVal|
|00001b90| 75 65 3b 0d 09 65 6c 73 | 65 20 69 66 20 28 20 28 |ue;..els|e if ( (|
|00001ba0| 63 74 6c 56 61 6c 75 65 | 2b 64 65 6c 74 61 29 3c |ctlValue|+delta)<|
|00001bb0| 63 74 6c 4d 69 6e 20 29 | 0d 09 09 64 65 6c 74 61 |ctlMin )|...delta|
|00001bc0| 20 3d 20 63 74 6c 4d 69 | 6e 2d 63 74 6c 56 61 6c | = ctlMi|n-ctlVal|
|00001bd0| 75 65 3b 0d 09 09 0d 09 | 53 65 74 43 74 6c 56 61 |ue;.....|SetCtlVa|
|00001be0| 6c 75 65 28 74 68 65 43 | 6f 6e 74 72 6f 6c 2c 63 |lue(theC|ontrol,c|
|00001bf0| 74 6c 56 61 6c 75 65 2b | 64 65 6c 74 61 29 3b 0d |tlValue+|delta);.|
|00001c00| 09 0d 09 64 65 6c 74 61 | 48 20 3d 20 64 65 6c 74 |...delta|H = delt|
|00001c10| 61 56 20 3d 20 30 3b 0d | 09 69 66 20 28 74 68 65 |aV = 0;.|.if (the|
|00001c20| 43 6f 6e 74 72 6f 6c 3d | 3d 28 43 6f 6e 74 72 6f |Control=|=(Contro|
|00001c30| 6c 48 61 6e 64 6c 65 29 | 48 53 43 52 4f 4c 4c 29 |lHandle)|HSCROLL)|
|00001c40| 0d 09 09 64 65 6c 74 61 | 48 20 3d 20 64 65 6c 74 |...delta|H = delt|
|00001c50| 61 3b 0d 09 65 6c 73 65 | 20 69 66 20 28 74 68 65 |a;..else| if (the|
|00001c60| 43 6f 6e 74 72 6f 6c 3d | 3d 28 43 6f 6e 74 72 6f |Control=|=(Contro|
|00001c70| 6c 48 61 6e 64 6c 65 29 | 56 53 43 52 4f 4c 4c 29 |lHandle)|VSCROLL)|
|00001c80| 0d 09 09 64 65 6c 74 61 | 56 20 3d 20 64 65 6c 74 |...delta|V = delt|
|00001c90| 61 3b 0d 09 0d 09 4d 6f | 76 65 47 72 61 70 68 69 |a;....Mo|veGraphi|
|00001ca0| 63 73 28 77 69 6e 64 6f | 77 2c 69 6e 66 6f 50 74 |cs(windo|w,infoPt|
|00001cb0| 72 2c 64 65 6c 74 61 48 | 2c 64 65 6c 74 61 56 29 |r,deltaH|,deltaV)|
|00001cc0| 3b 0d 0d 09 45 6e 64 57 | 69 6e 64 6f 77 41 63 63 |;...EndW|indowAcc|
|00001cd0| 65 73 73 28 77 69 6e 64 | 6f 77 2c 68 53 74 61 74 |ess(wind|ow,hStat|
|00001ce0| 65 29 3b 0d 7d 0d 0d 0d | 2f 2a 20 6d 6f 76 65 20 |e);.}...|/* move |
|00001cf0| 74 68 65 20 73 68 61 70 | 65 73 20 69 6e 20 74 68 |the shap|es in th|
|00001d00| 65 20 77 69 6e 64 6f 77 | 20 2a 2f 0d 0d 76 6f 69 |e window| */..voi|
|00001d10| 64 20 4d 6f 76 65 47 72 | 61 70 68 69 63 73 28 57 |d MoveGr|aphics(W|
|00001d20| 69 6e 64 6f 77 50 74 72 | 20 77 69 6e 64 6f 77 2c |indowPtr| window,|
|00001d30| 57 49 6e 66 6f 50 74 72 | 20 69 6e 66 6f 50 74 72 |WInfoPtr| infoPtr|
|00001d40| 2c 73 68 6f 72 74 20 64 | 65 6c 74 61 48 2c 73 68 |,short d|eltaH,sh|
|00001d50| 6f 72 74 20 64 65 6c 74 | 61 56 29 0d 7b 0d 09 47 |ort delt|aV).{..G|
|00001d60| 72 61 66 50 74 72 20 73 | 61 76 65 50 6f 72 74 3b |rafPtr s|avePort;|
|00001d70| 0d 09 52 65 63 74 20 64 | 72 61 77 69 6e 67 41 72 |..Rect d|rawingAr|
|00001d80| 65 61 3b 0d 09 52 67 6e | 48 61 6e 64 6c 65 20 75 |ea;..Rgn|Handle u|
|00001d90| 70 64 61 74 65 52 67 6e | 2c 73 61 76 65 43 6c 69 |pdateRgn|,saveCli|
|00001da0| 70 3b 0d 09 50 6f 69 6e | 74 20 2a 73 63 72 6f 6c |p;..Poin|t *scrol|
|00001db0| 6c 50 6f 73 2c 64 72 61 | 77 4f 66 66 73 65 74 3b |lPos,dra|wOffset;|
|00001dc0| 0d 09 0d 09 47 65 74 44 | 72 61 77 69 6e 67 41 72 |....GetD|rawingAr|
|00001dd0| 65 61 42 6f 75 6e 64 73 | 28 77 69 6e 64 6f 77 2c |eaBounds|(window,|
|00001de0| 69 6e 66 6f 50 74 72 2c | 26 64 72 61 77 69 6e 67 |infoPtr,|&drawing|
|00001df0| 41 72 65 61 29 3b 0d 09 | 0d 09 2f 2f 20 73 74 6f |Area);..|..// sto|
|00001e00| 72 65 20 6e 65 77 20 73 | 63 72 6f 6c 6c 20 70 6f |re new s|croll po|
|00001e10| 73 69 74 69 6f 6e 20 69 | 6e 74 6f 20 77 69 6e 64 |sition i|nto wind|
|00001e20| 6f 77 20 64 61 74 61 0d | 09 0d 09 73 63 72 6f 6c |ow data.|...scrol|
|00001e30| 6c 50 6f 73 20 3d 20 28 | 50 6f 69 6e 74 20 2a 29 |lPos = (|Point *)|
|00001e40| 26 69 6e 66 6f 50 74 72 | 2d 3e 6f 74 68 65 72 44 |&infoPtr|->otherD|
|00001e50| 61 74 61 5b 6b 56 69 65 | 77 4f 66 66 73 65 74 5d |ata[kVie|wOffset]|
|00001e60| 3b 0d 09 73 63 72 6f 6c | 6c 50 6f 73 2d 3e 68 20 |;..scrol|lPos->h |
|00001e70| 2b 3d 20 64 65 6c 74 61 | 48 3b 0d 09 73 63 72 6f |+= delta|H;..scro|
|00001e80| 6c 6c 50 6f 73 2d 3e 76 | 20 2b 3d 20 64 65 6c 74 |llPos->v| += delt|
|00001e90| 61 56 3b 0d 0d 09 64 72 | 61 77 4f 66 66 73 65 74 |aV;...dr|awOffset|
|00001ea0| 20 3d 20 2a 73 63 72 6f | 6c 6c 50 6f 73 3b 0d 09 | = *scro|llPos;..|
|00001eb0| 64 72 61 77 4f 66 66 73 | 65 74 2e 68 20 3d 20 69 |drawOffs|et.h = i|
|00001ec0| 6e 66 6f 50 74 72 2d 3e | 6c 65 66 74 49 6e 64 65 |nfoPtr->|leftInde|
|00001ed0| 6e 74 2d 64 72 61 77 4f | 66 66 73 65 74 2e 68 3b |nt-drawO|ffset.h;|
|00001ee0| 0d 09 64 72 61 77 4f 66 | 66 73 65 74 2e 76 20 3d |..drawOf|fset.v =|
|00001ef0| 20 69 6e 66 6f 50 74 72 | 2d 3e 74 6f 70 49 6e 64 | infoPtr|->topInd|
|00001f00| 65 6e 74 2d 64 72 61 77 | 4f 66 66 73 65 74 2e 76 |ent-draw|Offset.v|
|00001f10| 3b 0d 09 0d 09 2f 2f 20 | 64 6f 20 64 72 61 77 69 |;....// |do drawi|
|00001f20| 6e 67 20 6f 66 20 73 63 | 72 6f 6c 6c 69 6e 67 0d |ng of sc|rolling.|
|00001f30| 09 0d 09 47 65 74 50 6f | 72 74 28 26 73 61 76 65 |...GetPo|rt(&save|
|00001f40| 50 6f 72 74 29 3b 0d 09 | 53 65 74 50 6f 72 74 28 |Port);..|SetPort(|
|00001f50| 77 69 6e 64 6f 77 29 3b | 0d 09 75 70 64 61 74 65 |window);|..update|
|00001f60| 52 67 6e 20 3d 20 4e 65 | 77 52 67 6e 28 29 3b 0d |Rgn = Ne|wRgn();.|
|00001f70| 09 73 61 76 65 43 6c 69 | 70 20 3d 20 4e 65 77 52 |.saveCli|p = NewR|
|00001f80| 67 6e 28 29 3b 0d 09 53 | 63 72 6f 6c 6c 52 65 63 |gn();..S|crollRec|
|00001f90| 74 28 26 64 72 61 77 69 | 6e 67 41 72 65 61 2c 2d |t(&drawi|ngArea,-|
|00001fa0| 64 65 6c 74 61 48 2c 2d | 64 65 6c 74 61 56 2c 75 |deltaH,-|deltaV,u|
|00001fb0| 70 64 61 74 65 52 67 6e | 29 3b 0d 09 47 65 74 43 |pdateRgn|);..GetC|
|00001fc0| 6c 69 70 28 73 61 76 65 | 43 6c 69 70 29 3b 0d 09 |lip(save|Clip);..|
|00001fd0| 53 65 74 43 6c 69 70 28 | 75 70 64 61 74 65 52 67 |SetClip(|updateRg|
|00001fe0| 6e 29 3b 0d 09 44 72 61 | 77 41 6c 6c 53 68 61 70 |n);..Dra|wAllShap|
|00001ff0| 65 73 28 69 6e 66 6f 50 | 74 72 2c 64 72 61 77 4f |es(infoP|tr,drawO|
|00002000| 66 66 73 65 74 29 3b 0d | 09 53 65 74 43 6c 69 70 |ffset);.|.SetClip|
|00002010| 28 73 61 76 65 43 6c 69 | 70 29 3b 0d 09 44 69 73 |(saveCli|p);..Dis|
|00002020| 70 6f 73 65 52 67 6e 28 | 75 70 64 61 74 65 52 67 |poseRgn(|updateRg|
|00002030| 6e 29 3b 0d 09 44 69 73 | 70 6f 73 65 52 67 6e 28 |n);..Dis|poseRgn(|
|00002040| 73 61 76 65 43 6c 69 70 | 29 3b 0d 09 53 65 74 50 |saveClip|);..SetP|
|00002050| 6f 72 74 28 73 61 76 65 | 50 6f 72 74 29 3b 0d 7d |ort(save|Port);.}|
|00002060| 0d 0d 0d 2f 2a 20 63 68 | 65 63 6b 20 74 6f 20 6d |.../* ch|eck to m|
|00002070| 61 6b 65 20 73 75 72 65 | 20 77 65 27 72 65 20 6e |ake sure| we're n|
|00002080| 6f 74 20 62 69 67 67 65 | 72 20 74 68 61 6e 20 6f |ot bigge|r than o|
|00002090| 75 72 20 70 72 69 6e 74 | 20 61 72 65 61 20 2a 2f |ur print| area */|
|000020a0| 0d 0d 42 6f 6f 6c 65 61 | 6e 20 43 68 65 63 6b 50 |..Boolea|n CheckP|
|000020b0| 61 67 65 53 69 7a 65 28 | 57 69 6e 64 6f 77 50 74 |ageSize(|WindowPt|
|000020c0| 72 20 77 69 6e 64 6f 77 | 2c 57 49 6e 66 6f 50 74 |r window|,WInfoPt|
|000020d0| 72 20 69 6e 66 6f 50 74 | 72 29 0d 7b 0d 09 52 65 |r infoPt|r).{..Re|
|000020e0| 63 74 20 6f 6c 64 53 69 | 7a 65 3b 0d 09 73 68 6f |ct oldSi|ze;..sho|
|000020f0| 72 74 20 6e 65 77 57 69 | 64 74 68 2c 6e 65 77 48 |rt newWi|dth,newH|
|00002100| 65 69 67 68 74 2c 6f 6c | 64 57 69 64 74 68 2c 6f |eight,ol|dWidth,o|
|00002110| 6c 64 48 65 69 67 68 74 | 3b 0d 09 47 72 61 66 50 |ldHeight|;..GrafP|
|00002120| 74 72 20 73 61 76 65 50 | 6f 72 74 3b 0d 09 42 6f |tr saveP|ort;..Bo|
|00002130| 6f 6c 65 61 6e 20 63 68 | 61 6e 67 65 64 3b 0d 09 |olean ch|anged;..|
|00002140| 0d 09 43 6c 69 70 50 61 | 67 65 53 69 7a 65 28 26 |..ClipPa|geSize(&|
|00002150| 77 69 6e 64 6f 77 2d 3e | 70 6f 72 74 52 65 63 74 |window->|portRect|
|00002160| 2c 69 6e 66 6f 50 74 72 | 2c 26 6e 65 77 57 69 64 |,infoPtr|,&newWid|
|00002170| 74 68 2c 26 6e 65 77 48 | 65 69 67 68 74 29 3b 0d |th,&newH|eight);.|
|00002180| 09 6f 6c 64 57 69 64 74 | 68 20 3d 20 77 69 6e 64 |.oldWidt|h = wind|
|00002190| 6f 77 2d 3e 70 6f 72 74 | 52 65 63 74 2e 72 69 67 |ow->port|Rect.rig|
|000021a0| 68 74 2d 77 69 6e 64 6f | 77 2d 3e 70 6f 72 74 52 |ht-windo|w->portR|
|000021b0| 65 63 74 2e 6c 65 66 74 | 3b 0d 09 6f 6c 64 48 65 |ect.left|;..oldHe|
|000021c0| 69 67 68 74 20 3d 20 77 | 69 6e 64 6f 77 2d 3e 70 |ight = w|indow->p|
|000021d0| 6f 72 74 52 65 63 74 2e | 62 6f 74 74 6f 6d 2d 77 |ortRect.|bottom-w|
|000021e0| 69 6e 64 6f 77 2d 3e 70 | 6f 72 74 52 65 63 74 2e |indow->p|ortRect.|
|000021f0| 74 6f 70 3b 0d 09 0d 09 | 2f 2f 20 66 6f 72 63 65 |top;....|// force|
|00002200| 20 61 20 6e 65 77 20 77 | 69 6e 64 6f 77 20 73 69 | a new w|indow si|
|00002210| 7a 65 20 6f 6e 20 74 68 | 65 20 75 73 65 72 20 73 |ze on th|e user s|
|00002220| 69 6e 63 65 20 74 68 65 | 79 20 63 68 61 6e 67 65 |ince the|y change|
|00002230| 64 20 70 61 67 65 20 73 | 65 74 75 70 20 6f 6e 20 |d page s|etup on |
|00002240| 75 73 0d 09 0d 09 69 66 | 20 28 6e 65 77 48 65 69 |us....if| (newHei|
|00002250| 67 68 74 21 3d 6f 6c 64 | 48 65 69 67 68 74 20 7c |ght!=old|Height ||
|00002260| 7c 20 6e 65 77 57 69 64 | 74 68 21 3d 6f 6c 64 57 || newWid|th!=oldW|
|00002270| 69 64 74 68 29 20 7b 0d | 09 09 47 65 74 50 6f 72 |idth) {.|..GetPor|
|00002280| 74 28 26 73 61 76 65 50 | 6f 72 74 29 3b 0d 09 09 |t(&saveP|ort);...|
|00002290| 53 65 74 50 6f 72 74 28 | 77 69 6e 64 6f 77 29 3b |SetPort(|window);|
|000022a0| 0d 09 09 6f 6c 64 53 69 | 7a 65 20 3d 20 77 69 6e |...oldSi|ze = win|
|000022b0| 64 6f 77 2d 3e 70 6f 72 | 74 52 65 63 74 3b 0d 09 |dow->por|tRect;..|
|000022c0| 09 53 69 7a 65 57 69 6e | 64 6f 77 28 77 69 6e 64 |.SizeWin|dow(wind|
|000022d0| 6f 77 2c 6e 65 77 57 69 | 64 74 68 2c 6e 65 77 48 |ow,newWi|dth,newH|
|000022e0| 65 69 67 68 74 2c 74 72 | 75 65 29 3b 0d 09 09 49 |eight,tr|ue);...I|
|000022f0| 6e 76 61 6c 52 65 63 74 | 28 26 77 69 6e 64 6f 77 |nvalRect|(&window|
|00002300| 2d 3e 70 6f 72 74 52 65 | 63 74 29 3b 0d 09 09 53 |->portRe|ct);...S|
|00002310| 65 6e 64 57 69 6e 64 6f | 77 4d 65 73 73 61 67 65 |endWindo|wMessage|
|00002320| 28 77 69 6e 64 6f 77 2c | 6b 52 65 73 69 7a 65 4d |(window,|kResizeM|
|00002330| 65 73 73 61 67 65 2c 26 | 6f 6c 64 53 69 7a 65 29 |essage,&|oldSize)|
|00002340| 3b 0d 09 09 53 65 74 50 | 6f 72 74 28 73 61 76 65 |;...SetP|ort(save|
|00002350| 50 6f 72 74 29 3b 0d 09 | 09 63 68 61 6e 67 65 64 |Port);..|.changed|
|00002360| 20 3d 20 74 72 75 65 3b | 0d 09 7d 09 0d 09 65 6c | = true;|..}...el|
|00002370| 73 65 0d 09 09 63 68 61 | 6e 67 65 64 20 3d 20 66 |se...cha|nged = f|
|00002380| 61 6c 73 65 3b 0d 09 0d | 09 72 65 74 75 72 6e 20 |alse;...|.return |
|00002390| 63 68 61 6e 67 65 64 3b | 0d 7d 0d 0d 0d 2f 2a 20 |changed;|.}.../* |
|000023a0| 6d 61 6b 65 20 6f 75 72 | 20 64 72 61 77 69 6e 67 |make our| drawing|
|000023b0| 20 6f 6e 6c 79 20 61 73 | 20 62 69 67 20 61 73 20 | only as| big as |
|000023c0| 6f 75 72 20 70 72 69 6e | 74 20 61 72 65 61 20 2a |our prin|t area *|
|000023d0| 2f 0d 0d 76 6f 69 64 20 | 43 6c 69 70 50 61 67 65 |/..void |ClipPage|
|000023e0| 53 69 7a 65 28 52 65 63 | 74 20 2a 77 52 65 63 74 |Size(Rec|t *wRect|
|000023f0| 2c 57 49 6e 66 6f 50 74 | 72 20 69 6e 66 6f 50 74 |,WInfoPt|r infoPt|
|00002400| 72 2c 73 68 6f 72 74 20 | 2a 6d 61 78 57 69 64 74 |r,short |*maxWidt|
|00002410| 68 2c 73 68 6f 72 74 20 | 2a 6d 61 78 48 65 69 67 |h,short |*maxHeig|
|00002420| 68 74 29 0d 7b 0d 09 52 | 65 63 74 20 70 72 69 6e |ht).{..R|ect prin|
|00002430| 74 52 65 63 74 2c 64 72 | 61 77 41 72 65 61 52 65 |tRect,dr|awAreaRe|
|00002440| 63 74 3b 0d 09 0d 09 70 | 72 69 6e 74 52 65 63 74 |ct;....p|rintRect|
|00002450| 20 3d 20 28 2a 2a 28 69 | 6e 66 6f 50 74 72 2d 3e | = (**(i|nfoPtr->|
|00002460| 70 72 69 6e 74 52 65 63 | 6f 72 64 29 29 2e 70 72 |printRec|ord)).pr|
|00002470| 49 6e 66 6f 2e 72 50 61 | 67 65 3b 0d 0d 09 64 72 |Info.rPa|ge;...dr|
|00002480| 61 77 41 72 65 61 52 65 | 63 74 2e 74 6f 70 20 3d |awAreaRe|ct.top =|
|00002490| 20 69 6e 66 6f 50 74 72 | 2d 3e 74 6f 70 49 6e 64 | infoPtr|->topInd|
|000024a0| 65 6e 74 3b 0d 09 64 72 | 61 77 41 72 65 61 52 65 |ent;..dr|awAreaRe|
|000024b0| 63 74 2e 6c 65 66 74 20 | 3d 20 69 6e 66 6f 50 74 |ct.left |= infoPt|
|000024c0| 72 2d 3e 6c 65 66 74 49 | 6e 64 65 6e 74 3b 0d 09 |r->leftI|ndent;..|
|000024d0| 64 72 61 77 41 72 65 61 | 52 65 63 74 2e 62 6f 74 |drawArea|Rect.bot|
|000024e0| 74 6f 6d 20 3d 20 77 52 | 65 63 74 2d 3e 62 6f 74 |tom = wR|ect->bot|
|000024f0| 74 6f 6d 2d 77 52 65 63 | 74 2d 3e 74 6f 70 2d 6b |tom-wRec|t->top-k|
|00002500| 53 63 72 6f 6c 6c 42 61 | 72 57 69 64 74 68 3b 0d |ScrollBa|rWidth;.|
|00002510| 09 64 72 61 77 41 72 65 | 61 52 65 63 74 2e 72 69 |.drawAre|aRect.ri|
|00002520| 67 68 74 20 3d 20 77 52 | 65 63 74 2d 3e 72 69 67 |ght = wR|ect->rig|
|00002530| 68 74 2d 77 52 65 63 74 | 2d 3e 6c 65 66 74 2d 6b |ht-wRect|->left-k|
|00002540| 53 63 72 6f 6c 6c 42 61 | 72 57 69 64 74 68 3b 0d |ScrollBa|rWidth;.|
|00002550| 0d 09 2a 6d 61 78 57 69 | 64 74 68 20 3d 20 77 52 |..*maxWi|dth = wR|
|00002560| 65 63 74 2d 3e 72 69 67 | 68 74 2d 77 52 65 63 74 |ect->rig|ht-wRect|
|00002570| 2d 3e 6c 65 66 74 3b 0d | 09 2a 6d 61 78 48 65 69 |->left;.|.*maxHei|
|00002580| 67 68 74 20 3d 20 77 52 | 65 63 74 2d 3e 62 6f 74 |ght = wR|ect->bot|
|00002590| 74 6f 6d 2d 77 52 65 63 | 74 2d 3e 74 6f 70 3b 0d |tom-wRec|t->top;.|
|000025a0| 09 69 66 20 28 20 28 64 | 72 61 77 41 72 65 61 52 |.if ( (d|rawAreaR|
|000025b0| 65 63 74 2e 72 69 67 68 | 74 2d 64 72 61 77 41 72 |ect.righ|t-drawAr|
|000025c0| 65 61 52 65 63 74 2e 6c | 65 66 74 29 20 3e 20 28 |eaRect.l|eft) > (|
|000025d0| 70 72 69 6e 74 52 65 63 | 74 2e 72 69 67 68 74 2d |printRec|t.right-|
|000025e0| 70 72 69 6e 74 52 65 63 | 74 2e 6c 65 66 74 29 20 |printRec|t.left) |
|000025f0| 29 0d 09 09 2a 6d 61 78 | 57 69 64 74 68 20 3d 20 |)...*max|Width = |
|00002600| 28 70 72 69 6e 74 52 65 | 63 74 2e 72 69 67 68 74 |(printRe|ct.right|
|00002610| 2d 70 72 69 6e 74 52 65 | 63 74 2e 6c 65 66 74 29 |-printRe|ct.left)|
|00002620| 2b 69 6e 66 6f 50 74 72 | 2d 3e 6c 65 66 74 49 6e |+infoPtr|->leftIn|
|00002630| 64 65 6e 74 2b 6b 53 63 | 72 6f 6c 6c 42 61 72 57 |dent+kSc|rollBarW|
|00002640| 69 64 74 68 3b 0d 09 69 | 66 20 28 20 28 64 72 61 |idth;..i|f ( (dra|
|00002650| 77 41 72 65 61 52 65 63 | 74 2e 62 6f 74 74 6f 6d |wAreaRec|t.bottom|
|00002660| 2d 64 72 61 77 41 72 65 | 61 52 65 63 74 2e 74 6f |-drawAre|aRect.to|
|00002670| 70 29 20 3e 20 28 70 72 | 69 6e 74 52 65 63 74 2e |p) > (pr|intRect.|
|00002680| 62 6f 74 74 6f 6d 2d 70 | 72 69 6e 74 52 65 63 74 |bottom-p|rintRect|
|00002690| 2e 74 6f 70 29 20 29 0d | 09 09 2a 6d 61 78 48 65 |.top) ).|..*maxHe|
|000026a0| 69 67 68 74 20 3d 20 28 | 70 72 69 6e 74 52 65 63 |ight = (|printRec|
|000026b0| 74 2e 62 6f 74 74 6f 6d | 2d 70 72 69 6e 74 52 65 |t.bottom|-printRe|
|000026c0| 63 74 2e 74 6f 70 29 2b | 69 6e 66 6f 50 74 72 2d |ct.top)+|infoPtr-|
|000026d0| 3e 74 6f 70 49 6e 64 65 | 6e 74 2b 6b 53 63 72 6f |>topInde|nt+kScro|
|000026e0| 6c 6c 42 61 72 57 69 64 | 74 68 3b 0d 7d 0d 0d 0d |llBarWid|th;.}...|
|000026f0| 2f 2a 20 67 65 74 20 74 | 68 65 20 62 6f 75 6e 64 |/* get t|he bound|
|00002700| 73 20 6f 66 20 74 68 65 | 20 76 69 65 77 20 74 68 |s of the| view th|
|00002710| 61 74 20 77 65 20 63 61 | 6e 20 73 65 65 20 2a 2f |at we ca|n see */|
|00002720| 0d 0d 76 6f 69 64 20 47 | 65 74 56 69 65 77 42 6f |..void G|etViewBo|
|00002730| 75 6e 64 73 28 57 69 6e | 64 6f 77 50 74 72 20 77 |unds(Win|dowPtr w|
|00002740| 69 6e 64 6f 77 2c 57 49 | 6e 66 6f 50 74 72 20 69 |indow,WI|nfoPtr i|
|00002750| 6e 66 6f 50 74 72 2c 52 | 65 63 74 20 2a 62 6f 75 |nfoPtr,R|ect *bou|
|00002760| 6e 64 73 29 0d 7b 0d 09 | 50 6f 69 6e 74 20 76 69 |nds).{..|Point vi|
|00002770| 65 77 4f 66 66 73 65 74 | 3b 0d 09 0d 09 76 69 65 |ewOffset|;....vie|
|00002780| 77 4f 66 66 73 65 74 20 | 3d 20 2a 28 50 6f 69 6e |wOffset |= *(Poin|
|00002790| 74 20 2a 29 26 69 6e 66 | 6f 50 74 72 2d 3e 6f 74 |t *)&inf|oPtr->ot|
|000027a0| 68 65 72 44 61 74 61 5b | 6b 56 69 65 77 4f 66 66 |herData[|kViewOff|
|000027b0| 73 65 74 5d 3b 0d 09 47 | 65 74 44 72 61 77 69 6e |set];..G|etDrawin|
|000027c0| 67 41 72 65 61 42 6f 75 | 6e 64 73 28 77 69 6e 64 |gAreaBou|nds(wind|
|000027d0| 6f 77 2c 69 6e 66 6f 50 | 74 72 2c 62 6f 75 6e 64 |ow,infoP|tr,bound|
|000027e0| 73 29 3b 0d 09 4f 66 66 | 73 65 74 52 65 63 74 28 |s);..Off|setRect(|
|000027f0| 62 6f 75 6e 64 73 2c 2d | 69 6e 66 6f 50 74 72 2d |bounds,-|infoPtr-|
|00002800| 3e 74 6f 70 49 6e 64 65 | 6e 74 2c 2d 69 6e 66 6f |>topInde|nt,-info|
|00002810| 50 74 72 2d 3e 6c 65 66 | 74 49 6e 64 65 6e 74 29 |Ptr->lef|tIndent)|
|00002820| 3b 0d 09 4f 66 66 73 65 | 74 52 65 63 74 28 62 6f |;..Offse|tRect(bo|
|00002830| 75 6e 64 73 2c 76 69 65 | 77 4f 66 66 73 65 74 2e |unds,vie|wOffset.|
|00002840| 68 2c 76 69 65 77 4f 66 | 66 73 65 74 2e 76 29 3b |h,viewOf|fset.v);|
|00002850| 0d 7d 0d 0d 0d 2f 2a 20 | 67 65 74 20 74 68 65 20 |.}.../* |get the |
|00002860| 62 6f 75 6e 64 73 20 6f | 66 20 74 68 65 20 64 72 |bounds o|f the dr|
|00002870| 61 77 69 6e 67 20 74 68 | 61 74 20 77 65 20 63 61 |awing th|at we ca|
|00002880| 6e 20 73 65 65 20 2a 2f | 0d 0d 76 6f 69 64 20 47 |n see */|..void G|
|00002890| 65 74 44 72 61 77 69 6e | 67 41 72 65 61 42 6f 75 |etDrawin|gAreaBou|
|000028a0| 6e 64 73 28 57 69 6e 64 | 6f 77 50 74 72 20 77 69 |nds(Wind|owPtr wi|
|000028b0| 6e 64 6f 77 2c 57 49 6e | 66 6f 50 74 72 20 69 6e |ndow,WIn|foPtr in|
|000028c0| 66 6f 50 74 72 2c 52 65 | 63 74 20 2a 62 6f 75 6e |foPtr,Re|ct *boun|
|000028d0| 64 73 29 0d 7b 0d 09 62 | 6f 75 6e 64 73 2d 3e 74 |ds).{..b|ounds->t|
|000028e0| 6f 70 20 3d 20 69 6e 66 | 6f 50 74 72 2d 3e 74 6f |op = inf|oPtr->to|
|000028f0| 70 49 6e 64 65 6e 74 3b | 0d 09 62 6f 75 6e 64 73 |pIndent;|..bounds|
|00002900| 2d 3e 6c 65 66 74 20 3d | 20 69 6e 66 6f 50 74 72 |->left =| infoPtr|
|00002910| 2d 3e 6c 65 66 74 49 6e | 64 65 6e 74 3b 0d 09 62 |->leftIn|dent;..b|
|00002920| 6f 75 6e 64 73 2d 3e 62 | 6f 74 74 6f 6d 20 3d 20 |ounds->b|ottom = |
|00002930| 77 69 6e 64 6f 77 2d 3e | 70 6f 72 74 52 65 63 74 |window->|portRect|
|00002940| 2e 62 6f 74 74 6f 6d 2d | 77 69 6e 64 6f 77 2d 3e |.bottom-|window->|
|00002950| 70 6f 72 74 52 65 63 74 | 2e 74 6f 70 2d 6b 53 63 |portRect|.top-kSc|
|00002960| 72 6f 6c 6c 42 61 72 57 | 69 64 74 68 3b 0d 09 62 |rollBarW|idth;..b|
|00002970| 6f 75 6e 64 73 2d 3e 72 | 69 67 68 74 20 3d 20 77 |ounds->r|ight = w|
|00002980| 69 6e 64 6f 77 2d 3e 70 | 6f 72 74 52 65 63 74 2e |indow->p|ortRect.|
|00002990| 72 69 67 68 74 2d 77 69 | 6e 64 6f 77 2d 3e 70 6f |right-wi|ndow->po|
|000029a0| 72 74 52 65 63 74 2e 6c | 65 66 74 2d 6b 53 63 72 |rtRect.l|eft-kScr|
|000029b0| 6f 6c 6c 42 61 72 57 69 | 64 74 68 3b 0d 7d 0d 0d |ollBarWi|dth;.}..|
|000029c0| 0d 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000029d0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000029e0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000029f0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00002a00| 00 00 01 00 00 00 01 6e | 00 00 00 6e 00 00 00 3e |.......n|...n...>|
|00002a10| 00 00 00 7d 00 68 00 00 | 00 16 07 ff 00 00 03 c5 |...}.h..|........|
|00002a20| 00 41 00 00 00 02 07 00 | 00 00 16 be 00 08 00 00 |.A......|........|
|00002a30| 0b 77 69 6e 64 75 74 69 | 6c 73 2e 63 02 00 00 00 |.winduti|ls.c....|
|00002a40| 54 45 58 54 4d 50 53 20 | 01 00 00 c8 01 20 00 00 |TEXTMPS |..... ..|
|00002a50| 00 00 54 45 58 54 4d 50 | 53 20 01 00 00 c8 01 20 |..TEXTMP|S ..... |
|00002a60| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00002a70| 00 00 a7 01 fb eb 00 00 | 29 41 00 00 01 ac 36 bf |........|)A....6.|
|00002a80| 01 3a 00 00 00 0b 07 ff | 00 00 3f c7 00 0a 00 00 |.:......|..?.....|
|00002a90| 00 10 07 ff 00 00 3f dd | 00 74 00 00 00 18 07 00 |......?.|.t......|
|00002aa0| 00 00 41 6a 00 33 00 00 | 00 0a 07 00 00 00 42 d1 |..Aj.3..|......B.|
|00002ab0| 00 6b 00 00 00 14 07 00 | 00 00 42 d1 00 6b 00 00 |.k......|..B..k..|
|00002ac0| 00 14 07 00 00 00 42 d1 | 00 6b 00 00 00 14 07 00 |......B.|.k......|
|00002ad0| 00 00 42 d1 00 6b 00 00 | 00 14 07 00 00 00 42 d1 |..B..k..|......B.|
|00002ae0| 00 6b 00 00 00 14 00 00 | 00 00 00 00 00 00 00 00 |.k......|........|
|00002af0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00002b00| 00 00 00 48 00 09 4d 6f | 6e 61 63 6f 00 2d 2d 2d |...H..Mo|naco.---|
|00002b10| 2d 2d 2d 2d 2d 2d 2d 2d | 2d 2d 2d 2d 2d 2d 2d 2d |--------|--------|
|00002b20| 2d 2d 2d 2d 2d 2d 00 06 | 00 04 00 64 00 1c 03 63 |------..|...d...c|
|00002b30| 04 3d 00 64 00 1c 03 63 | 04 3d a8 62 fe 32 00 00 |.=.d...c|.=.b.2..|
|00002b40| 02 a0 00 00 02 a0 00 00 | 00 00 01 00 00 00 00 1e |........|........|
|00002b50| 00 64 00 1c 03 63 04 3d | 00 64 00 1c 03 63 04 3d |.d...c.=|.d...c.=|
|00002b60| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00002b70| 01 00 00 00 01 6e 00 00 | 00 6e 00 00 00 3e 00 e3 |.....n..|.n...>..|
|00002b80| 6e c8 0e b2 00 00 00 1c | 00 3e 00 00 4d 50 53 52 |n.......|.>..MPSR|
|00002b90| 00 01 00 0a 03 ed ff ff | 00 00 00 00 00 00 00 00 |........|........|
|00002ba0| 03 f0 ff ff 00 00 00 4c | 00 e9 6c d0 00 00 00 00 |.......L|..l.....|
|00002bb0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00002bc0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00002bd0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00002be0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00002bf0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
+--------+-------------------------+-------------------------+--------+--------+